package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 调度命令对象 sys_work_log_orders
 * 
 * @author ruoyi
 * @date 2023-02-07
 */
public class SysWorkLogOrders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 调度 */
    @Excel(name = "调度")
    private String dispatch;

    /** 发令人 */
    @Excel(name = "发令人")
    private String sender;

    /** 内容 */
    @Excel(name = "内容")
    private String text;

    /** 收令人 */
    @Excel(name = "收令人")
    private String receiver;

    /** 日志id */
    @Excel(name = "日志id")
    private Long logId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setDispatch(String dispatch) 
    {
        this.dispatch = dispatch;
    }

    public String getDispatch() 
    {
        return dispatch;
    }
    public void setSender(String sender) 
    {
        this.sender = sender;
    }

    public String getSender() 
    {
        return sender;
    }
    public void setText(String text) 
    {
        this.text = text;
    }

    public String getText() 
    {
        return text;
    }
    public void setReceiver(String receiver) 
    {
        this.receiver = receiver;
    }

    public String getReceiver() 
    {
        return receiver;
    }
    public void setLogId(Long logId) 
    {
        this.logId = logId;
    }

    public Long getLogId() 
    {
        return logId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("time", getTime())
            .append("dispatch", getDispatch())
            .append("sender", getSender())
            .append("text", getText())
            .append("receiver", getReceiver())
            .append("logId", getLogId())
            .toString();
    }
}
